﻿using System;
using SharpSqlAnalyzer.nodes;

namespace SharpSqlAnalyzer.stmt.redshift
{
	// Token: 0x020000FF RID: 255
	public class TRedshiftAbort : TCustomSqlStatement
	{
		// Token: 0x06000864 RID: 2148 RVA: 0x00301F50 File Offset: 0x00300150
		public TRedshiftAbort(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstredshiftAbort;
		}

		// Token: 0x06000865 RID: 2149 RVA: 0x00301F64 File Offset: 0x00300164
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			return 0;
		}

		// Token: 0x06000866 RID: 2150 RVA: 0x00301F79 File Offset: 0x00300179
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000867 RID: 2151 RVA: 0x00301F89 File Offset: 0x00300189
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}
	}
}
